package com.design.pattern.designPrinciples.compositeAggregate;

/**
 * create by yufeng on 2021/7/3 15:13
 */
public class CopTest {
    public static void main(String[] args) {
        ProductDao productDao = new ProductDao();
        productDao.setDbConnection(new MysqlConnection());
        productDao.add();

    }
}
